package com.fishery.authority.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.fishery.entity.Result;

/**
 * @author 白sa能
 * @className
 * @date Created in 7:03 PM 3/14/21
 * @package com.fishery.authority.handler
 * @Description
 */

public class BlockHandlerUtil {
    public Result message(BlockException blockExe){
        return Result.error("网络拥堵，请稍后再试。限流原因" + blockExe.toString());
    }
}